projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a060385
)
(read1): Recognize end of file after `\\'.
author
Gerd Moellmann
<gerd@gnu.org>
Fri, 15 Dec 2000 13:59:23 +0000
(13:59 +0000)
committer
Gerd Moellmann
<gerd@gnu.org>
Fri, 15 Dec 2000 13:59:23 +0000
(13:59 +0000)
src/lread.c
patch
|
blob
|
history
diff --git
a/src/lread.c
b/src/lread.c
index 2b1a7b84225d2a997ead4a4c97e038f7e850ee11..36ea523945965d778642dc9678266649f133d5b3 100644
(file)
--- a/
src/lread.c
+++ b/
src/lread.c
@@
-2271,6
+2271,8
@@
read1 (readcharfun, pch, first_in_list)
if (c == '\\')
{
c = READCHAR;
+ if (c == -1)
+ end_of_file_error ();
quoted = 1;
}